package com.shzu.jwc.ty.dao;

import com.shzu.jwc.ty.bean.PeExamination;
import com.shzu.jwc.ty.bean.PeExaminationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PeExaminationMapper {
    long countByExample(PeExaminationExample example);

    int deleteByExample(PeExaminationExample example);

    int deleteByPrimaryKey(Integer peExaminationId);

    int insert(PeExamination record);

    int insertSelective(PeExamination record);

    List<PeExamination> selectByExample(PeExaminationExample example);

    PeExamination selectByPrimaryKey(Integer peExaminationId);

    int updateByExampleSelective(@Param("record") PeExamination record, @Param("example") PeExaminationExample example);

    int updateByExample(@Param("record") PeExamination record, @Param("example") PeExaminationExample example);

    int updateByPrimaryKeySelective(PeExamination record);

    int updateByPrimaryKey(PeExamination record);

    List<PeExamination> getexamination(@Param("systemExamWeeklyId") Integer systemExamWeeklyId,@Param("peExaminationState") Integer peExaminationState,@Param("systemYearId") Integer systemYearId,@Param("peExaminationCode") String peExaminationCode,@Param("startPos") Integer startPos,@Param("pageSize") Integer pageSize);

    long countexamination(@Param("systemExamWeeklyId") Integer systemExamWeeklyId,@Param("peExaminationState") Integer peExaminationState,@Param("systemYearId") Integer systemYearId,@Param("peExaminationCode") String peExaminationCode);
}